package com.product.system.service.impl;

import com.product.system.domain.User;
import com.product.system.mapper.UserPostMapper;
import com.product.system.service.UserPostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserPostServiceImpl implements UserPostService {

    @Autowired
    UserPostMapper userPostMapper;

    @Override
    public void addUserPost(User user) {
        userPostMapper.addUserPost(user);
    }

//    @Override
//    public void updateUserPost(User user) {
//        userPostMapper.updateUserPost(user);
//    }
}
